package com.yunzhong.appointment.mapper;

import java.util.List;

import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import com.yunzhong.appointment.entity.Noticeboard;
import com.yunzhong.appointment.util.PageData;
import org.springframework.stereotype.Repository;

@Repository
public interface NoticeboardMapper {
    int deleteByPrimaryKey(String noticeId);

    int insert(Noticeboard record);

    int insertSelective(Noticeboard record);

    Noticeboard selectByPrimaryKey(String noticeId);

    int updateByPrimaryKeySelective(Noticeboard record);

    int updateByPrimaryKey(Noticeboard record);

    List<Noticeboard> queryAll(PageData pd);

    List<Noticeboard> queryNotice(PageData pd);
}